<div ng-controller="TestDialogIncCtrl">
  <h1 ng-bind="ts"></h1>
  用户名：<input type="text" ng-model="data.username">
  密码：<input type="password" ng-model="data.password">
  <button ng-click="ok()">确定</button>
  <button ng-click="cancel()">关闭</button>
</div>